package io.renren.service;


import io.renren.annotation.LoginUser;
import io.renren.common.service.CrudService;
import io.renren.dto.TemporaryOrdermxDTO;
import io.renren.entity.TemporaryOrdermxEntity;
import io.renren.entity.UserEntity;

import java.util.List;
import java.util.Map;

/**
 * 临时采购明细表 
 *
 * @author 翟文闯 619556390@QQ.com
 * @since 1.0.0 2019-12-31
 */
public interface TemporaryOrdermxService extends CrudService<TemporaryOrdermxEntity, TemporaryOrdermxDTO> {
    Map getTemOrdermx(TemporaryOrdermxDTO dto, UserEntity entity);
    void deleteOrder(Long temporaryId);
   TemporaryOrdermxDTO getTemOrd(Long temporaryId ,Long foodId);
    void saveFood(TemporaryOrdermxDTO dto, UserEntity entity);
    void updateFood(TemporaryOrdermxDTO dto, UserEntity entity);
    void deleteFood(TemporaryOrdermxDTO dto, UserEntity entity);
}